package com.assignwork.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import org.springblade.core.tool.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * VoyageBillCabinVO
 */
@Data
@ApiModel(value = "VoyageBillCabinVO对象", description = "舱图")
public class VoyageBillCabinVO {

    /** 主键id;主键id */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键id")
    private Long id;
    
    /** 创建时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    
    /** 更新时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    
    /** 票元数据ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "票元数据ID")
    private Long sourceId;
    
    /** 航次ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "航次ID")
    private Long voyageId;
    
    /** 票号 */
    @ApiModelProperty(value = "票号")
    private String billNo;
    
    /** 舱key */
    @ApiModelProperty(value = "舱key")
    private String cabinKey;
    
    /** 货名 */
    @ApiModelProperty(value = "货名")
    private String cargoName;
    
    /** 包装类型 */
    @ApiModelProperty(value = "包装类型")
    private String cargoPackage;
    
    /** 货吨 */
    @ApiModelProperty(value = "货吨")
    private BigDecimal cargoTon;
    
    /** 作业吨 */
    @ApiModelProperty(value = "作业吨")
    private BigDecimal workTon;
    
    /** 甩吨 */
    @ApiModelProperty(value = "甩吨")
    private BigDecimal remainder;
    
    /** 是否完成 */
    @ApiModelProperty(value = "是否完成")
    private Integer isFinish;
    
}